
  <script type="text/javascript">
    function reloadposts() {
	  $('#page table').load('/panel/log/?ajax=1');
    }
    function delpost( id ) {
      jConfirm('Are you sure tou want to delete this post?', 'Are you sure?', 
              function(r) {
	            if (r)
                $.ajax({
                        url: '/panel/post/?ajax=1&act=del&id='+id,
                        dataType: "text", 
                        type: "get",
                        success: function(){ reloadposts(); }
                });
      });
    }
  </script>
  <table style="width:90%">
    {content}
  </table>
  
  